package com.lh.mapper;

import com.lh.my.mapper.MyMapper;
import com.lh.pojo.OrderStatus;
import com.lh.pojo.vo.OrderStatusCountsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderStatusExtMapper extends MyMapper<OrderStatus> {

    /**
     * 查找订单状态
     * @param map
     * @return
     */
    Integer statusCounts(Map<String, Object> map);

    List<OrderStatus> trend(@Param("userId") String userId);

}